import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;


public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		
		int[] reeks			= new int[1000];
		
		FileInputStream fis = new FileInputStream("randomnumbers.txt");
		DataInputStream dis = new DataInputStream(fis);
		BufferedReader br	= new BufferedReader(new InputStreamReader(dis));
		String strLine;
		int arrayCount = 0;
		while ((strLine = br.readLine()) != null) {
			reeks[arrayCount] = Integer.parseInt(strLine);
			arrayCount++;
		}
		
		dis.close();
		
		ReplacementSelection rs = new ReplacementSelection(reeks);
		
	}

}
